x86: Remove bogus variables on construct_dom0()
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 6 Dec 2007 17:47:53 +0000 (17:47 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 6 Dec 2007 17:47:53 +0000 (17:47 +0000)
commitfea50b8c981dfddbdd1ad3f25b1366e42a2b3c8e
tree1cc0cf958eefc1fc74a565c3bf75c8f69b123354
parentac1cdd28313e8208a4a052145985ce507d6348ba
x86: Remove bogus variables on construct_dom0()

The check for supervisor_mode_kernel feature bit was being done on the
dom0_features_{supported,required} variables, but they are always set
to zero.

The feature bits are stored on elf_dom_parms struct, not on those
variables.

From: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/domain_build.c